home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / ste / autoexec.lzh / AUTOEXEC.SYS < prev    next >
Text File  |  1991-08-05  |  1KB  |  34 lines

  1. ; This is a sample auto folder setup program
  2.  
  3. Dc ; this gives the next 'Wait' command the char 'c' if no other key
  4. ;is pressed...
  5.  
  6. ; Play the 'Welcome sound'...
  7. >g:\sound\nt_comp\sound\hardcore.seg ; hmm, well - say that's hot...
  8.  
  9. ; Now show the menu.
  10. PThis program is written by Klaus Pedersen
  11. P
  12. P   Press 'A' for normal auto setup
  13. P         'B' for setup with GDOS
  14. P- and any other for no auto programs.
  15.  
  16. ; And then wait for a key to be pressed.
  17. ; remember that 'c' is default if no other key have been pressed.
  18.  
  19. WYour command master? - I'm waiting : 
  20.  
  21. ; Execute the programs {IF ch IN {a,b,c} THEN exec(...) }
  22. ?c?a?b!c:\system\tos14acc\poolfix3.prg
  23. ?c?a?b!c:\system\tos14acc\tos14fix.prg
  24.     ?b!c:\auto_o\amclight.prx
  25. ?c?a?b!c:\system\tos14acc\maccel3.prg
  26.  
  27. ; I have done it this way, to avoid that the program waits for a 
  28. ; key press, when all programs have been executed.
  29.  
  30. >g:\sound\nt_comp\sound\impact.seg
  31.  
  32. ?cX ; IF ch == 'c' (the default) THEN exit.
  33.  
  34. WPress any key... ; else wait for keypress